<%@ page contentType="text/html; charset = utf-8"
	import="com.hykj.valuebean.*;" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<base href="<%=basePath%>"%>
<link rel="stylesheet" type="text/css" href="/hykj/css/header.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>产品</title>
</head>
<body>

<center>
<jsp:include page="/head.jsp">
	<jsp:param name="menu" value="products"></jsp:param>
</jsp:include>
<table width="945" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td align="left" valign="top" width="655">
		<table width="655" border="0" cellspacing="0" cellpadding="5">
			<tr>
				<td valign="top">
				<table width="655" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td align="left" valign="top"><c:set var="allgoodslist"
							value="${requestScope.productsList}" /> <c:if
							test="${empty allgoodslist}">没有游戏</c:if> <c:if
							test="${!empty allgoodslist}">
							<table width="655" border="0" cellspacing="0" cellpadding="5">
							<c:forEach var="onegoods" items="${allgoodslist}">
								<tr>
									<c:if test="${!empty onegoods}">
										<td valign="top"><a
											href="/hykj/products/viewProduct?goodId=${onegoods.id}"
											target="_blank"><img src="${onegoods.indexDir}" width="200"
											height="150" style="border: 0" title="单击查看商品详细信息"></a></td>
										<td align="left" valign="top" width="445">
										<table width="445" border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td align="left"><a
													href="/hykj/products/viewProduct?goodId=${onegoods.id}"
													target="_blank">${onegoods.title}</a></td>
												<td align="right"><a
													href="/hykj/products/viewProduct?goodId=${onegoods.id}"
													target="_blank">MORE&nbsp;&nbsp;</a></td>
											</tr>
											<tr>
												<td colspan="2">${onegoods.describes}</td>
											</tr>
										</table>
										</td>
										
										
									</c:if>
								</tr>
								

							</c:forEach>
							<tr>
								<td bgcolor="#323232" colspan="4">${requestScope.pageBar.pageLink}</td>
							</tr>
							</table>
						</c:if></td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
		<td width="280" valign="top">
		<table width="280" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td height="5"></td>
			</tr>
			<tr>
				<td width="280" height="30" style="background-color:#323232; text-align:left; text-indent:30px;"><strong>游戏平台&nbsp;&nbsp;Game PlatForm</strong>
				</td>
			</tr>
			<tr>
				<td align="left" width="280" 
				style="background-color:#323232;
				 border-style:solid; 
				 border-top-width:thin; 
				 border-bottom-color:#323232;
				 border-left-color:#323232;
				 border-right-color:#323232;
				 padding:8px;
				 ">
					&nbsp;&nbsp;&nbsp;<a
					href="/hykj/products/getCategoryProducts?category=0">java</a><br />
				&nbsp;&nbsp;&nbsp;<a
					href="/hykj/products/getCategoryProducts?category=1">Symbian</a><br />
				&nbsp;&nbsp;&nbsp;<a
					href="/hykj/products/getCategoryProducts?category=2">iPhone</a><br />
				&nbsp;&nbsp;&nbsp;<a
					href="/hykj/products/getCategoryProducts?category=3">Android</a><br />
				</td>
			</tr>
			
			<tr>
				<td height="5"></td>
			</tr>
			<tr>
				<td align="right" width="280" height="30" style="font-weight:bold; background-color:#323232; text-align:left; text-indent:30px;">游戏目录&nbsp;&nbsp;Games
				</td>
			</tr>
			<tr>
				<td width="280" align="center" 
				style="background-color:#323232;
				 border-style:solid; 
				 border-top-width:thin; 
				 border-bottom-color:#323232;
				 border-left-color:#323232;
				 border-right-color:#323232;
				 padding:8px 0px 0px 0px;
				 "><iframe
					marginheight="5" width="275" frameborder="0" scrolling="yes"
					height="200" src="/hykj/gameIndexs.jsp"></iframe></td>
			</tr>
			<tr>
				<td width="280" height="8" style="background-color:#323232;"></td>
			</tr>
			<tr>
				<td height="5"></td>
			</tr>
			<tr>
				<td align="right" width="280" height="30" style="font-weight:bold; background-color:#323232; text-align:left; text-indent:30px;">游戏排行榜&nbsp;&nbsp;Top8
				</td>
			</tr>
			<tr>
				<td width="280" align="left" 
				style="background-color:#323232;
				 border-style:solid; 
				 border-top-width:thin; 
				 border-bottom-color:#323232;
				 border-left-color:#323232;
				 border-right-color:#323232;
				 padding:8px 0px 0px 0px;
				 "><jsp:include
					page="/top8.jsp"></jsp:include></td>
			</tr>
			

		</table>
		</td>
	</tr>

</table>
<jsp:include page="/foot.jsp" />
</center>

</body>
</html>